package org.zpmis.domain.contract.enums;

public enum ContractEnum {

    /**
     * 合同是否删除
     */
    NOT_DELETE(0, "未删除"),
    DELETED(1, "已删除"),
    /**
     * 合同状态
     */
    PROCESS_STATUS(0,"待审核"),
    COMPLETE_STATUS(1,"已签订"),
    OVERDUE_STATUS(2,"已过期"),

    /**
     * 合同类型
     */
    PERSON_TYPE(1,"人事"),
    PROXY_TYPE(2,"代理"),
    NET_IN_TYPE(3,"入网"),
    ;

    private int code;
    private String message;

    ContractEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int code() {
        return this.code;
    }


    public String message() {
        return this.message;
    }
}
